package com.cs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author zzc
 * @version 1.00
 * @EnableEurekaClient //本服务启动后会自动注册进eureka服务中
 * @Date 2019/3/18-13:56
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker //对hystrixR熔断机制的支持
public class ProviderDeptHystrix8001 {
    public static void main(String[] args) {
        SpringApplication.run(ProviderDeptHystrix8001.class, args);
    }
}
